import { Session } from 'meteor/session';

import './home.html';

import '../../components/hello/hello.js';
import '../../components/info/info.js';

Template.App_home.events({
  'click #testCall'(event) {

    Meteor.call('user.getMobileValid', (error, result) => {
      if (error) {
        alert(error);
      } else {
        Session.set("mobileValid", result);
        console.log(Session.get("mobileValid"));

      }
    });

  },

});